<template>
  <!-- 考勤管理 -->
  <el-container>
    <el-header class="header-tabs">
      <el-tabs v-model="activeName" type="card">
        <el-tab-pane label="考勤班次" name="0"></el-tab-pane>
        <el-tab-pane label="考勤点" name="1"></el-tab-pane>
      </el-tabs>
    </el-header>
    <el-main class="nopadding">
      <shift-list v-if="activeName == '0'"></shift-list>
      <attendance-location v-else></attendance-location>
    </el-main>
  </el-container>
</template>

<script>

import shiftList from './shiftList.vue'
import attendanceLocation from './attendanceLocation.vue'
export default {
  name: 'attendance',
  components: {
    shiftList,
    attendanceLocation
  },
  data () {
    return {
      dialog: {
        save: false,
      },
      apiObj: this.$API.attendance.getAttendanceList,
      searchValue: {
        search: null
      },
      activeName: '0',
    }
  },
  mounted () {

  },
  methods: {


  }
}
</script>

<style>
</style>
